package com.sumainfor.pc.gmio.dao.MktFeign;

import org.apache.ibatis.annotations.Mapper;

import java.util.Map;

/**
 * 功能描述:
 *
 * @Auther: zhlu
 * @Date: 2019/3/25 10:28
 * @Description:
 */
@Mapper
public interface BillOwnerMapper {

    /**
     * 功能描述:
     * 根据业主合同资料生成唐巢支付业主的账单
     *
     * @Author zhlu
     * @Description //TODO
     * @Date 2019/3/25 10:29
     */
    Integer AddBillOwner(Map<String, Object> params);

    /**
     * 功能描述:
     * 支出业主账单首月临时账单
     *
     * @Author zhlu
     * @Description //TODO
     * @Date 2019/3/25 16:10
     */
    Integer AddBillTemOwner(Map<String, Object> params);

    /**
     * 功能描述:
     * 根据业主账单编号获取业主账单资料
     *
     * @Author zhlu
     * @Description //TODO
     * @Date 2019/4/1 19:26
     */
    Map<String, Object> getOwnerBillMap(Map<String, Object> params);


    /**
     * 插入临时账单
     *
     * @param params
     * @return
     */
    int insertTempOrder(Map<String, Object> params);

    /**
     * 插入租客收入主账单
     *
     * @param params
     * @return
     */
    int insertOrderMain(Map<String, Object> params);


    /**
     * 查询退租账单
     *
     * @param witId
     * @return
     */
    Map<String, Object> getBackOrder(String witId);
}
